<!DOCTYPE html>
<html>

<head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width,initial-scale=1">
      <title>折叠</title>
      <link rel="stylesheet" href="https://cdn.staticfile.net/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
      <script src="https://cdn.staticfile.net/jquery/3.2.1/jquery.min.js"></script>
      <script src="https://cdn.staticfile.net/popper.js/1.15.0/umd/popper.min.js"></script>
      <script src="https://cdn.staticfile.net/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
</head>

<body>
      <div class="container">
            <div>
                  <button class="btn" data-toggle="collapse" data-target="#meun_one_sub">菜单一</button>
                  <div id="meun_one_sub" class="collapse in">
                        <a class="btn btn-primary col-sm-12" href="#">菜单一.1</a>
                        <a class="btn btn-primary col-sm-12" href="#">菜单一.2</a>
                        <a class="btn btn-primary col-sm-12" href="#">菜单一.3</a>
                        <a class="btn btn-primary col-sm-12" href="#">菜单一.4</a>
                        <a class="btn btn-primary col-sm-12" href="#">菜单一.5</a>
                  </div>
            </div>
            
            <div id="accordion">
                  <div class="card">
                        <div class="card-header">
                              <a class="card-link" data-toggle="collapse" href="#collapseOne">选项一</a>
                        </div>
                        <div id="collapseOne" class="collapse show" data-parent="#accordion">
                              <div class="card-body">
                                    #1 内容：菜鸟教程 -- 学的不仅是技术，更是梦想！！！
                              </div>
                        </div>
                  </div>
                  <div class="card">
                        <div class="card-header">
                              <a class="card-link" data-toggle="collapse" href="#collapseTwo">选项二</a>
                        </div>
                        <div id="collapseTwo" class="collapse" data-parent="#accordion">
                              <div class="card-body">
                                    #2 内容：菜鸟教程 -- 学的不仅是技术，更是梦想！！！
                              </div>
                        </div>
                  </div>
                  <div class="card">
                        <div class="card-header">
                              <a class="card-link" data-toggle="collapse" href="#collapseThree">选项三</a>
                        </div>
                        <div id="collapseThree" class="collapse" data-parent="#accordion">
                              <div class="card-body">
                                    #3 内容：菜鸟教程 -- 学的不仅是技术，更是梦想！！！
                              </div>
                        </div>
                  </div>
            </div>
      </div>
</body>

</html>